
// export const BaseUrl = "http://localhost:3000/front"

export const BaseUrl = process.env.REACT_APP_API_BASE_URL;
console.log("baseUrl: " + BaseUrl)

//获取配置信息
export const UrlGetAppConfig = "/allproductugx/r7OjC1w1VIDQhylHsLTCg"

//获取验证码
export const UrlGetOtp = "/allproductugx/u8blVwL2iosSg4v7nAbGWA"

//验证码登录
export const UrlLogin = "/allproductugx/mJouJbbtgcCGUqX3SueZdw"

//fb登录
export const UrlLoginFacebook = "/allproductugx/d7d2SLPuwaZSGoTEQYAkgA"

//获取首页额度
export const UrlGetLoanLimit = "/allproductugx/u2eGS79xRRougKHlwcyOCg"

//获取用户状态
export const UrlGetUseState = "/allproductugx/u8qAcBb7BFuf5jKl3WDYjPA"

//获取BankCode列表
export const UrlGetBankCodeList = "/allproductugx/j3HXXhDPZwgWsbacaiVNzw"

//获取贷款信息-申请页使用
export const UrlGetLoanDetail = "/allproductugx/myfqsgRMr8kBgRp8PGA"

//获取金额试算信息-申请页使用
export const UrlGetLoanApplyDetailByAmount = "/allproductugx/myfqsgRMr8kBgRp8PGAByAmount"

//确认申请贷款-申请页使用
export const UrlConfirmLoanApply = "/allproductugx/u4fJsCNzHSaPL9wKQlbjsg"

//获取还款信息-还款页使用
export const UrlGetReapyDetail = "/allproductugx/nUT5DEJwKOmAvO3Ui5UmsQ"

//获取还款链接-还款页使用
export const UrlGetReapyUrl = "/allproductugx/pLbT5b1KRvPQfODsB67dg"

//获取还款链接-还款页使用
export const UrlGetReapyUrlKes = "/allproductugx/TMb9M29hSzIN4Uw3efSQ"

//记录埋点
export const UrlSaveEvent = "/allproductugx/yMapMzbHiDIu9wesg4PwOQ"

//保存aduid
export const UrlSaveAduid = "/allproductugx/CMqdn7T1fqdWENRWz2pkQ"

//获取运营商验证码
export const UrlGetDataSmsCode = "/allproductugx/EjNCDyQ7ppgjBVamcGPg"

//运营商验证码登录
export const UrlDataSmsCodeLogin = "/allproductugx/UMMJ3c7aEAfCqYAcFQyRA"

//保存app列表
export const UrlSaveFrequentlyApps = "/allproductugx/B9yFskKqT7xZxTtH1MySsw"

//保存位置信息
export const UrlSaveUserLocation = "/allproductugx/CrGtMIGCBStuvhGs9NHq9g"

//上传图片
export const UrlUploadImage = "/allproductugx/IbFn0SAxfzpjnBfZvYDDNg"

//保存人脸信息
export const UrlSaveFaceInfo = "/allproductugx/u8wgnjyH4VoCClYCe99a9lg"

//保存fb信息息
export const UrlSaveFacebookInfo = "/allproductugx/HlrrsoFtrzvraHn3iJcKTg"

//获取钱包列表
export const UrlFetchBoundBankAccount = "/allproductugx/front/Gpynq8DhDSPIzMHTrEc7w"

//绑钱包
export const UrlBindBankAccount = "/allproductugx/eTZAX4zFc2BwPUaDFUOhw"

//删钱包
export const UrlDeleteBoundBankAccount = "/allproductugx/B7UqwaAFik7CNjzWpIaLOg"

//保存钱包认证状态
export const UrlSaveWalletInfo = "/allproductugx/WJZGWCFg1fNC8Bl4Ehh7NA"


/**
 * 转换为未映射接口
 * @param {String} apiUrl_20231102164200
 */
export const toUnRefApi = apiUrl_20231102164200 => {
    switch (apiUrl_20231102164200) {
        //基本信息
        case "/easemoney/yrXwdOXjoy3ZWGc4rrWqQ": return "/allproductugx/XEvuU2DR5ydMDVwdRW7tg"
        //联系人信息
        case "/easemoney/jd3jakd4hmla2A6NXLvg": return "/allproductugx/vz5ddR9A50V3749N1LuN3Q"
        //工作信息
        case "/easemoney/Al10Gs9YV3TR1mvJ8b5tWA": return "/allproductugx/n4MZ6ROMepTMkpVtxfTw"
        //bvn信息
        case "/easemoney/iPYFCf8jkHQXY5NAmHaQ": return "/allproductugx/WJZGWCFg1fNC8Bl4Ehh7NA"
        //银行卡信息
        case "/easemoney/d0cRE1wjWoVPaqutUTyA": return "/allproductugx/u40hyvwqTOXHJW06Znjkg"

        default: return apiUrl_20231102164200
    }
}